.class public Lcom/brixd/niceapp/activity/fragment/CategoryFragment;
.super Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;
.source "CategoryFragment.java"


# annotations
.annotation build Landroid/annotation/SuppressLint;
    value = {
        "InflateParams"
    }
.end annotation


# static fields
.field private static final CATEGORY_MODELS:Ljava/lang/String; = "category_models"

.field private static final CURRENT_CATEGORY_POS:Ljava/lang/String; = "current_category_pos"


# instance fields
.field private categoryModels:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/CategoryModel;",
            ">;"
        }
    .end annotation
.end field

.field private currentBgColor:I

.field private mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

.field private mCurrentGroup:I

.field private mIsFirstTimeRequest:Z

.field private mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

.field private mPullToRefreshExpandableCellListView:Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;

.field private mSideMenuBtn:Landroid/widget/Button;

.field private onRefreshListener:Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener",
            "<",
            "Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 2

    .prologue
    .line 45
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;-><init>()V

    .line 53
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mIsFirstTimeRequest:Z

    .line 174
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$4;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$4;-><init>(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->onRefreshListener:Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener;

    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .prologue
    .line 45
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    return-object v0
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .prologue
    .line 45
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    return-object v0
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .prologue
    .line 45
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->expandAllGroup()V

    return-void
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)I
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .prologue
    .line 45
    iget v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mCurrentGroup:I

    return v0
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)V
    .registers 1
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .prologue
    .line 45
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->requestCategoryApps()V

    return-void
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .prologue
    .line 45
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mPullToRefreshExpandableCellListView:Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;

    return-object v0
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;Lorg/json/JSONObject;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;
    .param p1, "x1"    # Lorg/json/JSONObject;

    .prologue
    .line 45
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->cacheCategoryAppData(Lorg/json/JSONObject;)V

    return-void
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    .prologue
    .line 45
    iget-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mIsFirstTimeRequest:Z

    return v0
.end method

.method static synthetic access$702(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;Z)Z
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/CategoryFragment;
    .param p1, "x1"    # Z

    .prologue
    .line 45
    iput-boolean p1, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mIsFirstTimeRequest:Z

    return p1
.end method

.method private cacheCategoryAppData(Lorg/json/JSONObject;)V
    .registers 3
    .param p1, "jo"    # Lorg/json/JSONObject;

    .prologue
    .line 221
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$6;

    invoke-direct {v0, p0, p1}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$6;-><init>(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;Lorg/json/JSONObject;)V

    .line 225
    invoke-virtual {v0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$6;->start()V

    .line 226
    return-void
.end method

.method private expandAllGroup()V
    .registers 3

    .prologue
    .line 116
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    if-nez v1, :cond_5

    .line 122
    :cond_4
    return-void

    .line 119
    :cond_5
    const/4 v0, 0x0

    .local v0, "i":I
    :goto_6
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    invoke-virtual {v1}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->getGroupCount()I

    move-result v1

    if-ge v0, v1, :cond_4

    .line 120
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    invoke-virtual {v1, v0}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;->expandGroup(I)Z

    .line 119
    add-int/lit8 v0, v0, 0x1

    goto :goto_6
.end method

.method public static getInstance(Ljava/util/ArrayList;I)Lcom/brixd/niceapp/activity/fragment/CategoryFragment;
    .registers 5
    .param p1, "currentGroupPos"    # I
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList",
            "<",
            "Lcom/brixd/niceapp/model/CategoryModel;",
            ">;I)",
            "Lcom/brixd/niceapp/activity/fragment/CategoryFragment;"
        }
    .end annotation

    .prologue
    .line 60
    .local p0, "list":Ljava/util/ArrayList;, "Ljava/util/ArrayList<Lcom/brixd/niceapp/model/CategoryModel;>;"
    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;

    invoke-direct {v1}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;-><init>()V

    .line 61
    .local v1, "categoryFragment":Lcom/brixd/niceapp/activity/fragment/CategoryFragment;
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 62
    .local v0, "args":Landroid/os/Bundle;
    const-string v2, "category_models"

    invoke-virtual {v0, v2, p0}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V

    .line 63
    const-string v2, "current_category_pos"

    invoke-virtual {v0, v2, p1}, Landroid/os/Bundle;->putInt(Ljava/lang/String;I)V

    .line 64
    invoke-virtual {v1, v0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->setArguments(Landroid/os/Bundle;)V

    .line 65
    return-object v1
.end method

.method private requestCategoryApps()V
    .registers 4

    .prologue
    .line 183
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-static {v1}, Lcom/brixd/niceapp/service/adapter/ReqRestAdapter;->niceAppAdapter(Landroid/content/Context;)Lretrofit/RestAdapter;

    move-result-object v1

    const-class v2, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    invoke-virtual {v1, v2}, Lretrofit/RestAdapter;->create(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;

    .line 184
    .local v0, "request":Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;
    const/4 v1, 0x2

    new-instance v2, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;

    invoke-direct {v2, p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$5;-><init>(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)V

    invoke-interface {v0, v1, v2}, Lcom/brixd/niceapp/service/restful/NiceAppRestfulRequest;->listCategoryApps(ILretrofit/Callback;)V

    .line 218
    return-void
.end method


# virtual methods
.method protected initActions(Landroid/view/View;)V
    .registers 4
    .param p1, "fragmentView"    # Landroid/view/View;

    .prologue
    .line 155
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$2;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$2;-><init>(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)V

    invoke-virtual {v0, v1}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;->setOnGroupClickListener(Landroid/widget/ExpandableListView$OnGroupClickListener;)V

    .line 163
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mSideMenuBtn:Landroid/widget/Button;

    new-instance v1, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$3;

    invoke-direct {v1, p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$3;-><init>(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;)V

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 171
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mPullToRefreshExpandableCellListView:Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->onRefreshListener:Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener;

    invoke-virtual {v0, v1}, Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;->setOnRefreshListener(Lcom/handmark/pulltorefresh/library/PullToRefreshBase$OnRefreshListener;)V

    .line 172
    return-void
.end method

.method protected initData()V
    .registers 5

    .prologue
    .line 127
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "category_models"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v0

    check-cast v0, Ljava/util/ArrayList;

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->categoryModels:Ljava/util/ArrayList;

    .line 128
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    const-string v1, "current_category_pos"

    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getInt(Ljava/lang/String;)I

    move-result v0

    iput v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mCurrentGroup:I

    .line 129
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Lcom/zuiapps/suite/utils/db/SharePrefHelper;->getInstance(Landroid/content/Context;)Lcom/zuiapps/suite/utils/db/SharePrefHelper;

    move-result-object v0

    const-string v1, "CurrentBgColor"

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x7f08002a

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-virtual {v0, v1, v2}, Lcom/zuiapps/suite/utils/db/SharePrefHelper;->getPref(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->currentBgColor:I

    .line 130
    return-void
.end method

.method protected initViews(Landroid/view/LayoutInflater;)Landroid/view/View;
    .registers 7
    .param p1, "inflater"    # Landroid/view/LayoutInflater;

    .prologue
    const/4 v4, 0x0

    .line 134
    const v2, 0x7f030054

    invoke-virtual {p1, v2, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 135
    .local v1, "view":Landroid/view/View;
    iget v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->currentBgColor:I

    invoke-virtual {v1, v2}, Landroid/view/View;->setBackgroundColor(I)V

    .line 136
    const v2, 0x7f0a011c

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/Button;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mSideMenuBtn:Landroid/widget/Button;

    .line 138
    const v2, 0x7f0a0040

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mPullToRefreshExpandableCellListView:Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;

    .line 139
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mPullToRefreshExpandableCellListView:Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;

    invoke-virtual {v2}, Lcom/handmark/pulltorefresh/library/PullToRefreshExpandableCellListView;->getRefreshableView()Landroid/view/View;

    move-result-object v2

    check-cast v2, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    iput-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    .line 140
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    invoke-virtual {v2, v4}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;->setDivider(Landroid/graphics/drawable/Drawable;)V

    .line 141
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    invoke-virtual {v2, v4}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;->setGroupIndicator(Landroid/graphics/drawable/Drawable;)V

    .line 142
    invoke-static {}, Lcom/zuiapps/suite/utils/device/DeviceUtil;->isMeizu()Z

    move-result v2

    if-nez v2, :cond_43

    .line 143
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    const/4 v3, 0x2

    invoke-virtual {v2, v3}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;->setOverScrollMode(I)V

    .line 146
    :cond_43
    const v2, 0x7f030088

    invoke-virtual {p1, v2, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    .line 147
    .local v0, "footerView":Landroid/view/View;
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    invoke-virtual {v2, v0}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;->addFooterView(Landroid/view/View;)V

    .line 149
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/AbsBaseSlidingMenuActivity;->getSlidingMenu()Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;

    move-result-object v2

    const/4 v3, 0x1

    invoke-virtual {v2, v3}, Lcom/jeremyfeinstein/slidingmenu/lib/SlidingMenu;->setTouchModeAbove(I)V

    .line 150
    return-object v1
.end method

.method public onActivityCreated(Landroid/os/Bundle;)V
    .registers 8
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 94
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onActivityCreated(Landroid/os/Bundle;)V

    .line 95
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-string v2, ""

    const v3, 0x7f040003

    const/4 v4, 0x1

    const/4 v5, 0x0

    invoke-static {v1, v2, v3, v4, v5}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->show(Landroid/content/Context;Ljava/lang/CharSequence;IZLandroid/content/DialogInterface$OnCancelListener;)Lcom/zuiapps/suite/utils/hud/ProgressHUD;

    move-result-object v0

    .line 96
    .local v0, "progressHUD":Lcom/zuiapps/suite/utils/hud/ProgressHUD;
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/zuiapps/suite/utils/hud/ProgressHUD;->setCanceledOnTouchOutside(Z)V

    .line 97
    new-instance v1, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    const v3, 0x7f030064

    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->categoryModels:Ljava/util/ArrayList;

    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    invoke-direct {v1, v2, v3, v4, v5}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;-><init>(Landroid/content/Context;ILjava/util/List;Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;)V

    iput-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mAdapter:Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    .line 99
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mHandler:Landroid/os/Handler;

    new-instance v2, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$1;

    invoke-direct {v2, p0, v0}, Lcom/brixd/niceapp/activity/fragment/CategoryFragment$1;-><init>(Lcom/brixd/niceapp/activity/fragment/CategoryFragment;Lcom/zuiapps/suite/utils/hud/ProgressHUD;)V

    const-wide/16 v4, 0x104

    invoke-virtual {v1, v2, v4, v5}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 113
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .registers 3
    .param p1, "savedInstanceState"    # Landroid/os/Bundle;

    .prologue
    .line 70
    invoke-super {p0, p1}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onCreate(Landroid/os/Bundle;)V

    .line 71
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->register(Ljava/lang/Object;)V

    .line 72
    return-void
.end method

.method public onDestroy()V
    .registers 2

    .prologue
    .line 76
    invoke-super {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onDestroy()V

    .line 77
    invoke-static {}, Lcom/brixd/niceapp/bus/BusProvider;->getInstance()Lcom/squareup/otto/Bus;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/squareup/otto/Bus;->unregister(Ljava/lang/Object;)V

    .line 78
    return-void
.end method

.method public onPause()V
    .registers 2

    .prologue
    .line 88
    invoke-super {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onPause()V

    .line 89
    const-string v0, "CategoryFragment"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageEnd(Ljava/lang/String;)V

    .line 90
    return-void
.end method

.method public onResume()V
    .registers 2

    .prologue
    .line 82
    invoke-super {p0}, Lcom/brixd/niceapp/activity/fragment/AbsBaseFragment;->onResume()V

    .line 83
    const-string v0, "CategoryFragment"

    invoke-static {v0}, Lcom/umeng/analytics/MobclickAgent;->onPageStart(Ljava/lang/String;)V

    .line 84
    return-void
.end method

.method public scrollToPos(Lcom/brixd/niceapp/bus/event/ScrollToCategoryEvent;)V
    .registers 4
    .param p1, "event"    # Lcom/brixd/niceapp/bus/event/ScrollToCategoryEvent;
    .annotation runtime Lcom/squareup/otto/Subscribe;
    .end annotation

    .prologue
    .line 230
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/CategoryFragment;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    iget v1, p1, Lcom/brixd/niceapp/bus/event/ScrollToCategoryEvent;->pos:I

    invoke-virtual {v0, v1}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;->setSelectedGroup(I)V

    .line 231
    return-void
.end method
